lib = ad.o \
      cell_locator.o \
      mesh.o \
      integration/intpoint.o \
      integration/constpoint.o \
      integration/linpoint.o \
      integration/linbubblepoint.o \
      integration/lindiscpoint.o \
      integration/nclinpoint.o \
      integration/quadpoint.o \
      integration/quaddiscpoint.o \
      integration/quadbubblepoint.o \
      matrix_umf.o \
      output.o \
      par_distribution.o \
      stateproblem.o \
      wmanager.o

targets = ../lib/$(TARGET)/libfem.a

default: fem

TOPDIR = ../
include ../Make3d.inc.$(PLATFORM)



fem: $(lib)
	rm -f $(targets)
	ar cr $(targets) $(lib)
	ranlib $(targets)


clean:
	rm -rf $(lib)